//
//  LEStoreModel.m
//  LoveExpressBusiness
//
//  Created by 刘甲奇 on 2017/5/9.
//  Copyright © 2017年 DFH. All rights reserved.
//

#import "LEStoreModel.h"

@implementation LEStoreModel

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.store_id forKey:@"store_id"];
    [aCoder encodeObject:self.image_url forKey:@"image_url"];
    [aCoder encodeObject:self.store_tel forKey:@"store_tel"];
    [aCoder encodeObject:self.store_name forKey:@"store_name"];
    [aCoder encodeObject:self.seller_name forKey:@"seller_name"];
    [aCoder encodeObject:self.store_description forKey:@"store_description"];
    [aCoder encodeObject:self.store_address forKey:@"store_address"];
    [aCoder encodeObject:self.store_zy forKey:@"store_zy"];
    [aCoder encodeObject:self.store_recruit forKey:@"store_recruit"];
    [aCoder encodeObject:self.store_orders_delivery forKey:@"store_orders_delivery"];

}
- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
       self.store_id = [aDecoder decodeObjectForKey:@"store_id"];
       self.image_url = [aDecoder decodeObjectForKey:@"image_url"];
       self.store_tel = [aDecoder decodeObjectForKey:@"store_tel"];
       self.store_name = [aDecoder decodeObjectForKey:@"store_name"];
       self.seller_name = [aDecoder decodeObjectForKey:@"seller_name"];
       self.store_description = [aDecoder decodeObjectForKey:@"store_description"];
       self.store_address = [aDecoder decodeObjectForKey:@"store_address"];
       self.store_zy = [aDecoder decodeObjectForKey:@"store_zy"];
       self.store_orders_delivery = [aDecoder decodeObjectForKey:@"store_orders_delivery"];
       self.store_recruit = [aDecoder decodeObjectForKey:@"store_recruit"];
    }
    return self;
}

@end
